import po.doPrint;

import java.util.Scanner;


public class Main {
    public static void main(String[] args) {


        doPrint doPrint = new doPrint();
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入需要装载的墨盒的颜色：");
        String col = scanner.next();
        System.out.println("请输入需要装载的纸张的数量：");
        int num = scanner.nextInt();
        boolean b = doPrint.doPoint(col, num);
        if (b) {
            System.out.println("成功打印！！！");
        } else {
            System.out.println("打印失败！！！");

        }
    }

}